Skip to content

IInputContext.IsReturnPressed() Method

Definition

Namespace: Brine2D.Input

Returns true if Enter/Return was pressed this frame, including key repeats. Useful for text submission; works regardless of whether text input mode is active. Note: unlike IsKeyPressed(Key), this fires on held-key repeats to provide expected text-editing behavior.

bool IsReturnPressed();

Returns

System.Boolean