Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Utility

Vertex to Rect

Use Vertex to Rect to create a rectangle by specifying its 4 corner positions. Vertex to Rect is in the Utility category.

Input

NameData typeDescription
Top leftVec2The vertex pixel position of the rectangle’s top left corner
Top rightVec2The vertex pixel position of the rectangle’s top right corner
Bottom leftVec2The vertex pixel position of the rectangle’s bottom left corner
Bottom rightVec2The vertex pixel position of the rectangle’s bottom right corner

Output

NameData typeDescription
New RectRectThe generated rectangle