DrawBox||doc136454

September 20, 2022

Format

Debug:DrawBox(center, extend, rotation, color, duration)

Describe

Draw a box in the game

parameter

Variable name Type Describe
center Vector3 Box center point
extend Vector3 Side length of box
rotation Vector3 The direction of the box is vector3 by default Zero
color Color3 The color of the box segment is red by default
duration int The number of continuous frames of the box is 20 by default