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\).

C#
bool IsKeyPressed(Brine2D.Input.Key key);

Parameters

key Key

Returns

System.Boolean