Area2D Double Click Problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ibo348

help!
area2d on click code is working but double click code is not working

func _fixed_process(delta):
if(on==1 && Input.is_action_pressed(“click”)):
print(“click”)
area.set_scale(Vector2(area.get_scale().x+delta,area.get_scale().y+delta))
func _on_Area2D_mouse_enter():
on=1
func _on_Area2D_mouse_exit():
on=0

do not scale collision objects… that cause some problems

rustyStriker | 2018-02-04 12:29

give me an idea

ibo348 | 2018-02-04 12:41

do you have any idea?
how can I do it

ibo348 | 2018-02-04 13:12