Redash
  • Redash
  • Animations
  • Coordinates
  • Math
  • Strings
  • Transitions
  • Vectors
  • Paths
  • Physics
  • Colors
Powered by GitBook
On this page
  • Vector<T = number>
  • useVector()

Was this helpful?

Vectors

Vector<T = number>

Type representing a vector. it is defined as

export interface Vector<T = number> {
  x: T;
  y: T;
}

useVector()

Returns a vector of shared values.

PreviousTransitionsNextPaths

Last updated 4 years ago

Was this helpful?