isTouchscreenAvailable

    Returns true if touch events are available (Android or iOS), the capability is detected on the Web platform or if ProjectSettings/inputDevices/pointing/emulateTouchFromMouse is true.

    DisplayServer.swift:3860
    static func isTouchscreenAvailable() -> Bool

    Other members in extension

    Types

    Type members