forked from StrafesNET/roblox-bot-player
wasm-module: add get_game_controls
This commit is contained in:
@@ -179,4 +179,8 @@ impl PlaybackHead{
|
||||
use glam::Vec3Swizzles;
|
||||
velocity.xz().length()
|
||||
}
|
||||
#[wasm_bindgen]
|
||||
pub fn get_game_controls(&self)->u32{
|
||||
self.head.state().get_controls().bits()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user