The pointer input stores the state of the mouse (or similar device) at a certain point in time. It also accumulates points that have been pressed and released.
Value parameters
events
points where the pointer was pressed/released (the boolean indicates pressed when true, released when false). Note that only the most recent PointerInput.maxEvents are guaranteed to be present.
position
the current pointer position.
pressedOn
if defined, it means the mouse is currently down and was pressed at that position. Otherwise, the mouse is currently up.