1
0
Fork 0
mirror of https://github.com/CrispyPin/ovr-utils.git synced 2025-04-17 01:28:28 +02:00
ovr-utils/ovr-utils/addons/openvr_overlay/move_overlay.gd
2021-05-22 18:38:52 +02:00

14 lines
250 B
GDScript

extends Control
var ihandler
func _ready() -> void:
ihandler = get_viewport().get_node("../OverlayInteraction")
func _on_DragButton_button_down() -> void:
ihandler.begin_move()
func _on_DragButton_button_up() -> void:
ihandler.finish_move()