Godot V3 event types?

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

In V2.1.4 it was

if event.type == InputEvent.MOUSE_MOTION:

what’s the equivalent in V3.0?

:bust_in_silhouette: Reply From: Skyfrit

In 3.0 you use event is InputEventScreenTouch

if (event is InputEventScreenTouch && event.pressed):