I was trying to make ui using a tutorial on the official wiki (9. User Interface (UI) [GDevelop wiki]), and it worked just fine, until when i addes this code, that made it
What are your scene/game dimensions?
What do you mean by that?
Hi. Your code says that you scale up the Inventory object by 4 (making it larger) and set it to a specific position on the screen. Perhaps the object is simply positioned outside the scene (screen).
i tried removing the upscaling part, but nothing changed
You are changing the X and the Y position. Make sure that the X position and Y position doesn’t exceed the area covered by the camera. I mean, if your scene width is 800 and you change the X position to 850, the object won’t be visible because it is out of the camera. And similarly, if your scene height is 400 and you change the Y position to 450 then the object won’t be visible because it is out of the camera.
[edit]
I guess @MrMen wants to ask about your project’s Height and Width.