Get Mouse Position 2D

Description

Outputs the position of the mouse in 2D space.

Available to

Inputs

Player (Object)

You give the path to a Player.

players.Player

Outputs

X (Number)

You give the block the variable you want the X coordinate of the player's mouse to be saved to.

MouseX

Y (Number)

You give the block the variable you want the Y coordinate of the player's mouse to be saved to.

MouseY

Last updated