User Tools

Site Tools


blocks:sensing

Sensing

Blocks Description
Report x position of the mouse
Report y position of the mouse
Report whether main button is pressed
Report state of whether instance is touching the mouse
Report direction to the mouse from the instance
Report distance to the mouse from the instance
Report whether is key is pressed down
Report direction to another instance
Report distance to another instance
Report time in milliseconds since GP was started
A 6 element array of all date and time elements
Report whether touching another instance
Report number of neighbouring instance within a certain radius of this instance
Report the color of a point on the screen
Wait for keyboard input and report the text typed
Pop-up a menu from a supplied list and report value selected
Report an attribute of this or another instance if drawer opened and object reference supplied
blocks/sensing.txt · Last modified: 2017/09/30 09:03 (external edit)