Api Pressed
class

Pressed

public static abstract sealed class Pressed

Access to the currently pressed path information

Properties

Name Type Description
Ray static Ray The ray representing the cursor direction
This static Boolean True if the current gizmo scope is pressed
Any static Boolean True if any object is currently pressed
CursorDelta static Vector2 The distance the cursor has travelled since press started
CursorPosition static Vector2 The cursor position at the start of the press
IsActive static Boolean True if press is active. This generally means that the left mouse button is down

Methods

static Void ClearPath()
Assembly: Sandbox.Engine Declaring Type: Gizmo Full Name: Sandbox.Gizmo.Pressed