How to make the game detect multiple clicks

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

Hey everyone,
So i was trying make my game detect multiple mouse clicks and assign different animations to the number of clicks like one click normal attack double click double attack and hold click super attack, can someone help me to set this up please .

:bust_in_silhouette: Reply From: horsecar123
func _input(event):
if event is InputEventScreenTouch :
	var how_many_fingers=event.get_index()