PointerId

Mouse

Touch

  1. u64

Custom

  1. uuid::Uuid

Description

Identifies a unique pointer entity. Mouse and Touch pointers are automatically spawned.

This component is needed because pointers can be spawned and despawned, but they need to have a stable ID that persists regardless of the Entity they are associated with.

Functions