How to move a sprite to a random position in Scratch Preview

There exists a block in Scratch that teleports a sprite to a random location on the screen.

This sprite can be also used to either move the sprite to the location of your mouse or to any specific location you might need, but we will look at those options in another lesson.

Here's how to to find and use this block for teleporting to a random position.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1580
  • 24 Mar 2020

The "go to" block is located in the blue block pallette:

content picture

When placed like this in your program, it moves it's sprite to a random position.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Keep 'em clean - remote Scratch game course
  • 41
  • 0:00
  • 70
Image for Lesson 3 - Rotating and teleporting your character
  • 5
  • 4
  • 6
  • 3d_rotation 0