draw line

draw line



Kode wheel segment Create/Shapes
Style Specialised
Modifiers  from / to
Primarily WHEN/DO DO
Pre-made brains that use it Unknown

Create > Shapes> draw line


This tile is used to draw a straight line between two points. You can specify the points using IWP (it will draw the line from and to the center socket of the object),or use a 3D vector variable. The line is by default  colored white, you can change this by adding a Values/Color tile to the kode line. You cannot alter the thickness of the line. When IWP is used and the object moves, the line will move as well, expanding and contracting between the two points.

Example Code

WHEN [RT]  DO [draw line][from][IWP:tree][to][IWP:building][blue]



Other Uses


You can draw up to 1024 lines at a time. The 1025th line and after will not display.

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: