name Pedestrian Button
id walk_button

model walk_button.obj
texture walk_button.png

//Switches. <ID> <X> <Y> <Z> <WIDTH_PIXELS> <HEIGHT_PIXELS> <X_ROTATION> <Y_ROTATION>
//16 pixels = 1 block. X and Y rotation are around the x,y,z coordinates
switch switch -0.09375 0.59375 0.06255 3 3 0 0

//The available states, a switch has by default
// <SWITCH_ID> <STATE_1,STATE_2,...>
switchDefaultState switch pressed