Go to (): Difference between revisions

no edit summary
(Created page with "{{Needs Images}} {{Infobox Block |block_img = |block_type = Stack Block |category = Motion |title = go to () }} The '''go to ()''' block is a stack block that goes to a specified sprite, the mouse-pointer, or a random position. It originates from Scratch. The default selected option is "random position". ==Workaround== ===Sprite=== The sprite option can be worked around by using the () of () sensing block and the go to x: () y: () block, wi...")
 
No edit summary
 
Line 1:
{{Needs Images}}
{{Infobox Block
|block_name = go to (random position v)
|block_img =
|block_type = Stack Block
|category = [[Motion]]
Line 9 ⟶ 8:
==Workaround==
===Sprite===
The sprite option for sprites can be worked around by using the [[() of () (Sensing)|() of ()]] sensing block and the [[go to x: () y: ()]] block, with the x position of the sprite going in the first input, and the y position of the sprite going in the second input.:
<sb>go to x: ([x position v] of (sprite v)) y: ([y position v] of (sprite v))</sb>
===Mouse-Pointer===
The mouse-pointer option can be worked around by using the [[mouse x]] and [[mouse y]] blocks in the [[go to x: () y: ()]] block, with mouse x going in the first input, and mouse y going in the other input.:<br>
<sb>go to x: (mouse x) y: (mouse y)</sb>
===Random Position===
The random position block can be worked around by using [[pick random () to ()]] blocks in the [[go to x: () y: ()]] block.
231

edits