mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2025-04-23 02:51:19 +02:00
9 lines
235 B
GDScript
9 lines
235 B
GDScript
tool
|
|
extends "../Tool.gd"
|
|
|
|
func on_left_mouse_click():
|
|
canvas.util.flood_fill(cell_mouse_position, cell_color, selected_color)
|
|
|
|
func on_right_mouse_click():
|
|
canvas.util.flood_fill(cell_mouse_position, cell_color, Color(0, 0, 0, 0))
|