mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 09:39:48 +00:00
16 lines
276 B
GDScript
16 lines
276 B
GDScript
extends BaseTool
|
|
|
|
|
|
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
|