## Specification of virtual hotspots

The following code demonstrates how to specify virtual hotspots in a room.

`01 <?xml version="1.0" encoding="ISO-8859-1"?> 02 03 <room scriptid="room1" scriptfile="room1.bsh"> 04 <hotspots> 05 <hotspot scriptid="hotspot1" type="sphere" needsitem="true"> 06 <position x="0.0" y="0.0" z="0.0"/> 07 <name>Hotspot1 Screen Name</name> 08 <dimension radius="1.25"/> 09 </hotspot> 10 <hotspot scriptid="hotspot2" type="box" needsitem="false"> 11 <position x="10.0" y="5.0" z="0.0"/> 12 <name>Hotspot2 Screen Name</name> 13 <dimension width="1.0" height="2.0" length="1.0"/> 14 </hotspot> 15 </hotspots> 16 </room>`
Java2html