cave-of-dreams/scripts/marker/procedural_end.gd
2026-05-19 22:18:33 -04:00

9 lines
288 B
GDScript

@tool
extends Node3D
@export var width = 2.0
@export var height = 2.0
func _process(delta: float) -> void:
if Engine.is_editor_hint():
DebugDraw3D.draw_box(global_position + Vector3(0, (height / 2.0), 0), quaternion.normalized(), Vector3(0.001, height, width), Color(0, 1, 0), true)