godot_osc_demo/toggle_button.gd
Christopher Arndt 4e5e0f7345 Some function signature cleanup
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-11-06 17:22:18 +01:00

6 lines
98 B
GDScript

extends Button
func recv_osc(msg_info, values) -> void:
set_pressed_no_signal(bool(values[0]))