Skip to content

IInputContext.IsKeyDown(Key) Method

Definition

Namespace: Brine2D.Input

Returns true if the key is currently pressed.

bool IsKeyDown(Brine2D.Input.Key key);

Parameters

key Key

Returns

System.Boolean