HoverChain.normalizedPointerID

Each HoverPointer loaded into HoverChain has two values, under two different ID numbers. This function converts either number into the original one.

Since the IDs are assigned in a consistent, deterministic manner, the pointer does not need to be loaded for this function to work.

class HoverChain
const
int
normalizedPointerID
(
int number
)

Parameters

number int

Pointer ID to normalize, negative or not.

Return Value

Type: int

The normalized, non-negative pointer number. Returns the same ID as given if it was already normalized.

See Also

fetch for information on the difference between the values. armedPointerID for a function to get the ID of the armed pointer.

Meta