IsInteractive subpart property

From SIMboxWiki
Revision as of 15:28, 1 November 2010 by Anna.Shukhman (talk | contribs) (Created page with ' IsInteractive subpart property provides a way to control if the subpart can be moved. When IsInteractive property is true, the subpart can be moved according to its charact…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

IsInteractive value can be tied to an attribute. 

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