+1 vote

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

asked Sep 2, 2017 in Engine by mateusak (1,074 points)

1 Answer

+2 votes
Best answer

Use

if event is InputEventMouseButton:
    //code
answered Sep 2, 2017 by mateusak (1,074 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.