inputEventMode property

InputEventMode inputEventMode
getter/setter pair

The InputEventMode used for input events on the Stage.

You can opt-in for touch events if you set the TouchOnly or TouchAndMouse value. The second one is recommended because you won't get any input events if you choose TouchOnly when there is no touch screen available.

Implementation

InputEventMode inputEventMode = InputEventMode.MouseOnly;