API ReferenceAPI Reference·ModulesModules·CoreCore·oa::inputoa::inputoa::input::pressReturn whether button went down since the last update. Remains valid until clear_for_next_frame.FnRust public APISourceSourceFunction Documentationpub fn press( button: Button ) -> boolSourceSourceReturn whether button went down since the last update. Remains valid until clear_for_next_frame.
pub fn press( button: Button ) -> boolSourceSourceReturn whether button went down since the last update. Remains valid until clear_for_next_frame.