button
![code/_onclick/hud/new_player.dm 92](git.png)
Vars | |
enabled | Is the button currently enabled? |
---|---|
highlighted | Is the button currently being hovered over with the mouse? |
owner | The ref of the mob that owns this button. Only the owner can click on it. |
Procs | |
set_button_status | Updates the button's status: TRUE to enable interaction with the button, FALSE to disable |
Var Details
enabled
![code/_onclick/hud/new_player.dm 94](git.png)
Is the button currently enabled?
highlighted
![code/_onclick/hud/new_player.dm 96](git.png)
Is the button currently being hovered over with the mouse?
owner
![code/_onclick/hud/new_player.dm 100](git.png)
The ref of the mob that owns this button. Only the owner can click on it.
Proc Details
set_button_status
Updates the button's status: TRUE to enable interaction with the button, FALSE to disable