mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2025-02-19 15:54:23 +01: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))
|