Pointer

Pointers are used to interact with UI or game objects. This section describes how pointers are created, how they get updated, and how they determine the object(s) that are in focus.

Pointers receive, process, and manage input data from pointing devices (such as touch, mouse, pen/stylus, and touchpad) in your applications.

Best practices

Layout

  • It should be clearly visible.

  • It should be always center aligned with the pointer

  • Direction of ray should be indicative of the actual pointer direction

  • Indicative animations should be used to grab the user's attention

  • It should give feedback with context for user relevance.

Content

Interactive experiences typically involve the user identifying the object they want to interact with by pointing at it through input devices such as touch, mouse, pen/stylus, and touchpad. Since, the raw Human Interface Device (HID) data provided by these input devices includes many common properties, the data is promoted and consolidated into a unified input stack and exposed as device-agnostic pointer data. Your applications can then consume the data without worrying about the input device being used.

Pointer

States

Transitions

Transitions

Front View

Isometric View

Enter

Exit

Interact

Last updated