Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to make transparent blocks not block mouse clicks?

so i have a npc and you can talk to it using dialog but it is surrounded by invisible blocks to make sure the player doesnt fall off so the chance that the camera is outside of the transparent blocks is high so when there is a transparent block between the question mark and the camera then it wont detect the mouse click how do i make it so the transparent blocks dont interfere with the mouse clicking?

or if that is not possible how do i make it so the camera cant go outside of the transparent blocks

3 comments

0

this isn't a script requesting site.

0

a request is like 3 or more lines of code i am just looking for 1 or 2 at most lines of code

0

but if you know how, that would be very helpful!

1 answer

✓ Accepted answer

CanCollide?

1 comment

0

well i need cancollide on because if it was off the player would walk right threw it and it would defeat the blocks purpose

This discussion is preserved as it was. New answers, comments, and votes are closed.