API Referenceglobal
Pressedclass
Access to the currently pressed path information
object→Pressed
Methods1
Showing 1 methods
public static void ClearPath()
Returns:
void—No results match this filter.
Properties6
Showing 6 properties
public static bool Sandbox.Gizmo.Pressed.Any { get; set; }
True if any object is currently pressed
Returns:
bool—public static Vector2 Sandbox.Gizmo.Pressed.CursorDelta { get; set; }
The distance the cursor has travelled since press started
public static Vector2 Sandbox.Gizmo.Pressed.CursorPosition { get; set; }
The cursor position at the start of the press
public static bool Sandbox.Gizmo.Pressed.IsActive { get; set; }
True if press is active. This generally means that the left mouse button is down
Returns:
bool—No results match this filter.