function useTransform(
  ref: React.RefObject<HTMLElement | SVGElement>,
  x?: number,
  y?: number,
  scale?: number,
  rotate?: number,
  additionalOffset?: VecLike
): void
Parameters
NameDescription

ref

React.RefObject<HTMLElement | SVGElement>

x

number

y

number

scale

number

rotate

number

additionalOffset

VecLike
Returns
void
useTLStoreassertIdType