Hello, I was looking for a way to avoid creating different inventory window only to have a different value (AREA inventory box).
I had already looked into the guide, unfortunately I could not find a solution.
If I write
win = Game.LoadWindow ("interface \ inventory.window");
winbox = win.GetControl ("Inventory box");
I can't access the property Area (x, y, Width, Height) of winbox.
I've the same problem with the definition file of the sprites, I would change HOTSPOT {x, y} from code but I can't figure out if I can do this and how.
I'm thinking to create file.sprite where I impose hotspot and then reloading it.
I can't seem to access these properties

, have you a link with small code?
Thank you