Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Class · Ara

Input

Replayable player actions at the current fixed tick. Behaviours and commands only.

public static class Input

Methods

Player

public static ulong Player(Entity entity);

The input owner assigned by the engine's player controller.

Button

public static bool Button(ulong player, string action);

Whether a named button is held by the authenticated player.

Axis2

public static Vector2 Axis2(ulong player, string action);

A named two-axis action; an absent action is zero.