Develop
Develop
Select your platform

Pointable

A Pointable is a component implementing the IPointable interface, which exposes handling of PointerEvents. Generally this takes the form of an interactable that can handle pointer actions such as hovering and selecting.
As an example of these PointerEvents, we will use a Poke Interaction on a Unity Canvas.
  • Hover: An IPointable has started being hovered by a pointer (hand within hover distance of the Canvas).
  • Unhover: An IPointable has stopped being hovered by a pointer (hand moved outside hover distance of the Canvas).
  • Select: The pointer has performed the Select action on an IPointable (hand presses on the Canvas).
  • Unselect: A previous Select state has ended (hand stops pressing on Canvas).
  • Move: The pointer was moved on the IPointable (touch position changed on Canvas).
  • Cancel: The PointerEvent was canceled (poke pushed through the Canvas).
  • To learn about Pointer Events, which display the output of an interaction, see Pointer Events.
Did you find this page helpful?