Type of the referenced value
The mutable value held by the ref.
Reading or writing this property has no side effects — it does not trigger component refresh, re-render, or hook re-registration.
When initialized with the self symbol via useRef(self), this becomes a reference
to the underlying KaylaRectEntity.
The mutable value held by the ref.
Reading or writing this property has no side effects — it does not trigger component refresh, re-render, or hook re-registration.
When initialized with the self symbol via useRef(self), this becomes a reference
to the underlying KaylaRectEntity.
Protectedset
Mutable reference object whose
.currentproperty persists across component refreshes.Returned by
useRefanduseSelf. Changes to.currentnever trigger refresh, making it safe for hot mutable data (position, velocity, timers, DOM nodes, etc.).