Set my home: Difference between revisions
Set my home
Content added Content deleted
(Created page with "Stores sprite's position to be used in the go to home block.") |
(Added images) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Blocks |
|||
Stores sprite's position to be used in the go to home block. |
|||
|block_type=Stack Block |
|||
|category=[[Motion Expansion]] |
|||
|title = set my home |
|||
|block_img=Set my home.svg}} |
|||
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== |
|||
[[File:Set my home workaround.svg|thumb|174x174px]] |
|||
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]] |
Latest revision as of 13:02, 6 June 2024
set my home | |
---|---|
Block Type | Stack Block |
Category / Extension | Motion |
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.