7 lines
123 B
GDScript
7 lines
123 B
GDScript
@tool
|
|
extends Node
|
|
|
|
func _ready() -> void:
|
|
if not Engine.is_editor_hint():
|
|
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|