InputEvent type in 3.0 alpha?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mateusak
:warning: Old Version Published before Godot 3 was released.

Is there any way to know the type of an InputEvent in the 3.0 alpha release?

:bust_in_silhouette: Reply From: mateusak

Use

if event is InputEventMouseButton:
	//code