Category:Locations

Specifies an exact x and y position.

This block has two sockets for number inputs: x position and y position. Any math block can used in these sockets to allow an exact location on the display to be selected.

Parameters

Name Description
y position Any number or math block to represent the y position of the location
x position Any number or math block to represent the x position of the location

Tips

  • The display area is 400 pixels x 400 pixels and the upper left corner is (0,0).

Found a bug in the documentation? Let us know at documentation@code.org