Examples
Item: item {
image: "img_item"
x: 300
y: 400
Event: "Take item"{
// When the overlay is clicked, this option is displayed
// Removes the overlay and moves the item to the player object
GUI.removeObj(this)
player.giveItem(this)
}
Event: [Mouse_Over,false]{
}
}
Room: room
{
Event: Game_Start {
GUI.addObj(item,this)
}
}