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

i am trying to create a double tap action pressed function but is_processing() doesnt seems to work any idea why is this happening ?

func _input(event):
if event.is_action_pressed("right"):
	if $timer.is_processing():

this is my code

:bust_in_silhouette: Reply From: code

instead of is_processing() y dont u use

if(not $Timer.get_time_left() == 0):
##your code

and there is also nothing as is_processing() method in the timer class

code | 2018-08-15 12:06