Is there a way to make a part of something only visible once something is touching it?

I want to do a project like this. I also need help with making code that will fill the screen with evenly spaced clones. @pomtl @CodeHelp

6 Likes

Yes

1 Like

Let me get the code…

1 Like

I’ve done that before…my matrix BG has that…I might need more of a description for me to start coding…

2 Likes

Having an emoji and then when a square is touching a part of it only that part is visible. @TheDeliciousOrange

2 Likes

Hrrrmmmm gimme 3 minutes for this…

1 Like

Where did the “this” go?

1 Like

For some reason the object won’t go back to being visible in my test

1 Like

Here it is this is the basic code
https://c.gethopscotch.com/p/1017tkbm8a

2 Likes

Um not working…

2 Likes

Yeah it makes it partly invisible when it touches but when it isn’t after it touches it it’s still only partly visible

2 Likes

It shouldn’t be like that

2 Likes

Tricky question. I am unsure about how to get this to work, unfortunately, but I wish you good luck trying to figure this out!

1 Like

Do you mean an instant background that fills the screen with evenly spaced objects? I have a project called ‘Instant Background’ you could use.

I fixed it!
https://c.gethopscotch.com/p/101a5jtzzl

2 Likes

That code makes sense how did I not see that

I’m sure JACGMaster will appreciate it! :slight_smile:

The only way I can think of to have only a part of an emoji visible requires a plain background. Here’s an example (although I used an arrow instead of a square):

3 Likes

Tounched

3 Likes

Lol. Too much of a hurry. Thanks and fixed.

2 Likes