mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 17:49:47 +00:00
15 lines
292 B
GDScript3
15 lines
292 B
GDScript3
|
extends "res://src/Tools/Base.gd"
|
||
|
|
||
|
func draw_start(_position : Vector2) -> void:
|
||
|
Global.camera.drag = true
|
||
|
Global.camera2.drag = true
|
||
|
|
||
|
|
||
|
func draw_move(_position : Vector2) -> void:
|
||
|
pass
|
||
|
|
||
|
|
||
|
func draw_end(_position : Vector2) -> void:
|
||
|
Global.camera.drag = false
|
||
|
Global.camera2.drag = false
|