box()

Box - Draws a cuboid/rectangular prism

Example

Syntax

Parameter
Description

width

length of the box in the x-direction

height

length of the box in the y-direction

depth

length of the box in the z-direction

chevron-rightExample Full Codehashtag

Description

draws a box of a specified width, height, and depth.

circle-info

Find these documents helpful? Let the people who made them help your child learn to code at Strivematharrow-up-right!

We'd love to hear your Feedback/Comments herearrow-up-right.

Last updated