s&box docs

public static abstract sealed class Sandbox.Gizmo.Pressed

Access to the currently pressed path information

Broader workflow and conceptual references connected to this API.

Methods

Showing 1 methods

public static void ClearPath()

Properties

Showing 6 properties

public static bool Sandbox.Gizmo.Pressed.Any { get; set; }

True if any object is currently pressed

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

public static Ray Sandbox.Gizmo.Pressed.Ray { get; set; }

The ray representing the cursor direction

public static bool Sandbox.Gizmo.Pressed.This { get; set; }

True if the current gizmo scope is pressed

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Gizmo.Pressed

On this page