Hi! I had a question. Some time ago I got some guidance with this inventory code:
local int = Interfaces["Inventory"]
if int.InterfaceOffset.y == 570 then
int:to(400, { InterfaceOffset = {x = int.InterfaceOffset.x, y = 700 } }, easeLinearIn)
elseif int.InterfaceOffset.y == 700 then
int:to(500, { InterfaceOffset = {x = int.InterfaceOffset.x, y = 570 } }, easeBackOut)
end
I only want to run it in some of the rooms though since you do not always need your inventory and therefore don´t want it to pop up. Is there a code I can use to make it non existing in some of the rooms? Right now the code global and not tied to a specific room.