go to ()

From PenguinMod Wiki
Revision as of 17:45, 1 July 2024 by MediansSC (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Go to ()
Jump to navigation Jump to search
go to ()
go to (random position v)
Caption
Block Type Stack Block
Category / Extension Motion
Status Who tf uses status

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 option for sprites can be worked around by using the () 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: go to x: ([x position v] of (sprite v)) y: ([y position v] of (sprite v))

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:
go to x: (mouse x) y: (mouse y)

Random Position

The random position block can be worked around by using pick random () to () blocks in the go to x: () y: () block.