Skip to content

IInputContext.IsKeyPressed(Key) Method

Definition

Namespace: Brine2D.Input

Returns true if the key was pressed this frame (not held from previous frame).

bool IsKeyPressed(Brine2D.Input.Key key);

Parameters

key Key

Returns

System.Boolean