useTransform

See source code
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

Returns

void
Prev
useTLStore
Next
assertIdType