Set my home: Difference between revisions

From PenguinMod Wiki
Set my home
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{Needs Images}}
{{Needs Images|n=There is no image for the block itself or the workaround.}}
{{Blocks

|block_type=Stack Block
Stores sprite's position to be used in the go to home block.
|category=[[Motion Expansion]]

|title = set my home
{{Blocks|block_type=Stack Block|category=Motion Expanded}}
}}
The '''set my home''' block is a stack block that stores sprite's position to be used in the [[go to home]] block. To get this block, one must add the [[Motion Expansion]] extension.
==Workaround==
This block can be worked around by using variables or a list to store the current coordinate of a sprite, which can be used with the [https://en.scratch-wiki.info/wiki/Go_to_X:_()_Y:_()_(block) go to x: () y: ()] block to go back.
{{DISPLAYTITLE:set my home}}
[[Category:Stack Blocks]]
[[Category:Motion Blocks/Expansion]]

Revision as of 20:59, 29 December 2023

Images needed

This article needs images or better quality images. You can help PenguinMod Wiki by adding the images or uploading them. Specifically: There is no image for the block itself or the workaround.

set my home
...
Caption
Block Type Stack Block
Category / Extension Motion
Status Who tf uses status

The set my home block is a stack block that stores sprite's position to be used in the go to home block. To get this block, one must add the Motion extension.

Workaround

This block can be worked around by using variables or a list to store the current coordinate of a sprite, which can be used with the go to x: () y: () block to go back.