IsInteractive subpart property

From SIMboxWiki
Jump to navigation Jump to search

The IsInteractive subpart-property provides a way to control a subpart if the subpart can be moved. When IsInteractive property is true, the subpart can be moved according to its characteristics (for example, a 2-state button can be pushed, a lever can be moved). When IsInteractive property is false, the subpart stops responding to mouse movement or mouse clicks. 

The IsInteractive value can be tied to an attribute. 

This property is very useful when implementing a subpart with an obstacle preventing its movement, for example, a guarded switch.