Function ambient_api::prelude::input::get

source ·
pub fn get() -> Input
Expand description

Gets the local player’s most recent raw input state.

To determine if the player just supplied an input, compare it to get_previous or use get_delta.