Skip to main content

press

Function press 

Source
pub fn press(button: Button) -> bool
Expand description

Return whether button went down since the last update.

Remains valid until clear_for_next_frame.