Hide a part of an object without hiding background

Is it possible to hide a portion of an object without disrupting the background? this object is moving.

For example i have a square, and a mask would cut off a chunk of the square as the mask passes through it (and you can see the layers behind it)

i have tried using the object masking extension but i am not quite sure how to use this.

What are your trying to achieve? Cause you can hide individual parts of a 3D model.

1 Like

Object masking is exactly what you need to understand
Darker color = do not show
Lighter color = see trough

So take white square image make object out of it and now use it as your masking object

And play around with it
Even better use something as yin yang symbol

I ALWAYS can’t remember how exactly it works that is why i am not giving you straight answer
BUT i play around with it for a moment mask one object with another
And after like 1 min i know all i need to know

I suggest you do the same

Where only thing i know is that dark light dependency
You can even use shape painter for it

Imagine all you see here is 1 rectangular white object
Where all you see inside it is shape painter
And as you see platforms do not go beyond its borders
BTW i think you can even mask object with shape painter i do not remember exactly
(BTW what is going on here is shape painter is drawn ALL over screen
But since i am masking it with white rectangle object you only see shape painter that is in area of that object
Hence fake minimap)

2023-12-09_06_12_Tb7JXscvcM_GDevelop

1 Like

I just want to first thank everyone in the thread for their response, this community is amazing :slight_smile:
I played around with it and turns out that my original object was already hidden (my stupid mistake).
i think the big thing here is the mask must be white. other than that, it pretty much always works