Category:Actions
Sprite jumps instantly to a specified location.
Examples
Example 1
Every time the ghost is clicked, it will jump to a random location.
Example 2
Every time the brown bunny is clicked, it will jump to the location of the purple bunny.
Syntax
jumpTo
Parameters
Name | Type | Required? | Description |
---|---|---|---|
sprite | The sprite or sprite group to jump | ||
location | The location that the sprite(s) should jump to |
Found a bug in the documentation? Let us know at support@code.org.