igiTreeNode

A node that opens and closes. Takes label (The node's text). Returns: 1 if the node is open.

IGI

Parameters & Returns

Parameters

label String

Returns

Int

Quick Summary

A node that opens and closes. Takes label (The node's text). Returns: 1 if the node is open.

Technical Exegesis...

A node that opens and closes. When it returns 1, show its contents and then call igiTreePop.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Returns: 1 if the node is open.

Example

Example.bam
If igiTreeNode("Player") Then
    igiText("Lives: " & ToString(lives))
    igiTreePop()
EndIf