API Component.SetSolid

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png SetSolid
Sets whether a component is checked in collision detections 
Fc9-h32-icon.png - HANDLE Target
The component to set the state for 
Fc9-bool-icon.png - BOOL Enabled
True to enable, false to disable 
Fc9-void-icon.png - NONE Return


Detailed description

A solid component can collide with other solid objects on the panel. If an object is not solid, it will be ignored in collision tests.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Component.SetSolid(target, true)