Ive copied out 3 sections of part codes that have MouseRects.
Note that on the parts list (ModelDef) that they have a top area in the parts sheet that is nothing but GUID's and data such as amount of travel of the part animation; 50 KF's, 100 KF's with KF being Key Frames of animation travel.
The second section is in the lower half of the ModelDef, having the core data of how the part animates (speed, code strings, etc) and then their MouseRect sections which also can include sound activators, etc.
<Animation name="pa20_switch_panel_light" guid="cf2a3a2d-bfbf-4fe0-a5da-427c1dbe05b7" length="50" type="Sim" typeParam2="pa20_switch_panel_light" typeParam="AutoPlay" />
<PartInfo>
<Name>pa20_switch_panel_light</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>LIGHT PANEL</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_LIGHT_SWITCH_PANEL</HelpID>
<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_PANEL</TooltipID>
<CallbackCode>
(>K

ANEL_LIGHTS_TOGGLE)
1 (>L:XMLSND7,enum)
</CallbackCode>
</MouseRect>
</PartInfo>
<Animation name="pacer_skirts_selector" guid="0720eee4-c306-46fc-884f-f88063d24442" length="50" type="Sim" typeParam2="pacer_skirts_selector" typeParam="AutoPlay" />
<PartInfo>
<Name>pacer_skirts_selector</Name>
<Animation>
<Parameter>
<Code>
(L

ress skirt,bool) 100 *
</Code>
<Lag>100</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Wheel Skirts Selector System; (%((L:SKIRTS SHOW,enum))%{case}%{:0}Old Skirts)%{:1}New Skirts)%{:2}No Skirts)%{End}</TooltipText>
<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
<CallbackCode>(M:Event) 'LeftSingle' scmp 0 == if{ (L:SKIRTS SHOW,enum) 1 + 4 % (>L:SKIRTS SHOW,enum) 1 (>L:XMLSND1=7 ,enum) 1 (>L

ress skirt,bool) } (M:Event) 'LeftRelease' scmp 0 == if{ (>L

ress skirt,bool) }</CallbackCode>
</MouseRect>
</PartInfo>
<Animation name="da40_switch_strobe_light" guid="7fef9258-9a81-4a43-81c7-ba639157b1d3" length="50" type="Sim" typeParam2="da40_switch_strobe_light" typeParam="AutoPlay" />
<PartInfo>
<Name>da40_switch_strobe_light</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>LIGHT STROBE</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_LIGHT_SWITCH_STROBE</HelpID>
<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_STROBE</TooltipID>
<CallbackCode>
(>K:STROBES_TOGGLE)
1 (>L:XMLSND7,enum)
</CallbackCode>
</MouseRect>
</PartInfo>
Here they are in a code enclosure:
Code:
<Animation name="pa20_switch_panel_light" guid="cf2a3a2d-bfbf-4fe0-a5da-427c1dbe05b7" length="50" type="Sim" typeParam2="pa20_switch_panel_light" typeParam="AutoPlay" />
<PartInfo>
<Name>pa20_switch_panel_light</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>LIGHT PANEL</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_LIGHT_SWITCH_PANEL</HelpID>
<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_PANEL</TooltipID>
<CallbackCode>
(>K:PANEL_LIGHTS_TOGGLE)
1 (>L:XMLSND7,enum)
</CallbackCode>
</MouseRect>
</PartInfo>
<Animation name="pacer_skirts_selector" guid="0720eee4-c306-46fc-884f-f88063d24442" length="50" type="Sim" typeParam2="pacer_skirts_selector" typeParam="AutoPlay" />
<PartInfo>
<Name>pacer_skirts_selector</Name>
<Animation>
<Parameter>
<Code>
(L:press skirt,bool) 100 *
</Code>
<Lag>100</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Wheel Skirts Selector System; (%((L:SKIRTS SHOW,enum))%{case}%{:0}Old Skirts)%{:1}New Skirts)%{:2}No Skirts)%{End}</TooltipText>
<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
<CallbackCode>(M:Event) 'LeftSingle' scmp 0 == if{ (L:SKIRTS SHOW,enum) 1 + 4 % (>L:SKIRTS SHOW,enum) 1 (>L:XMLSND1=7 ,enum) 1 (>L:press skirt,bool) } (M:Event) 'LeftRelease' scmp 0 == if{ (>L:press skirt,bool) }</CallbackCode>
</MouseRect>
</PartInfo>
<Animation name="da40_switch_strobe_light" guid="7fef9258-9a81-4a43-81c7-ba639157b1d3" length="50" type="Sim" typeParam2="da40_switch_strobe_light" typeParam="AutoPlay" />
<PartInfo>
<Name>da40_switch_strobe_light</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>LIGHT STROBE</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_LIGHT_SWITCH_STROBE</HelpID>
<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_STROBE</TooltipID>
<CallbackCode>
(>K:STROBES_TOGGLE)
1 (>L:XMLSND7,enum)
</CallbackCode>
</MouseRect>
</PartInfo>