Cursor - iimurpyh/pilot-lua GitHub Wiki

A Cursor object returned by TouchScreen:GetCursor() and TouchScreen:GetCursors()

Table of contents

Properties


int Cursor.X

The X position of the cursor in pixels as an integer.


int Cursor.Y

The Y position of the cursor in pixels as an integer.


string Cursor.Player

The name of the player the cursor belongs to.


boolean Cursor.Pressed

Whether or not the player's left mouse button is held down.