Studio › Manual › 3D rooms

Tags (custom variables)

Room > Game > Edit Tags (⌃⌥⇧1), or the inspector's Tags section, gives the selected thing variables of your own, a line each, name = value:

skill = 2
patrol = guard_beat
ambush = true

They're written last in its creation code, each a variable, with tag_names listing them (tag_names = "skill,patrol,ambush";): a value that reads as a number is written as a number, true and false as booleans, anything else as a string (quotes round a value are its text). A name is a GameMaker variable name and can't be one Room 3D writes itself (model, x, col_shape, door_stay…): the section says so under the box and leaves that line out. The tags are written when you leave the box (or press Apply); one undo step. Your code reads them as any instance variable.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.