public static abstract sealed class Sandbox.Gizmo.Pressed
Access to the currently pressed path information
Related Guides
Broader workflow and conceptual references connected to this API.
Input is accessed using theโฆ Input class!
To make a multiplayer game you need to take care of a few things. There's a special component that helps with those things, called NetworkHelper. This is a simple component that fits a lot of situations, but can be used as an example to code your own network component.
Networked GameObjects can be owned by a connection.
The PlayerController component is a first and third person player controller.
We very much recommend that you only use this if you can't use input actions for whatever reason. You can't rebind these at all.
Components can contain RPCs. An RPC is a function that when called, is called remotely too.
Methods
Showing 1 methods
public static void ClearPath()
No results match this filter.
Properties
Showing 6 properties
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
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Gizmo.Pressed |