How to make touch event more efficient?

Hello. I am making a two player puzzle game. And when i was making the buttons scripts, it seems that .Touched event is very messy. Its just don’t detects the player, or detects. Is there any way to make it more efficient?

Any help is appreciated :slight_smile:

You could use a Proximity Prompt or a Click Detector. I think it is easier to control each one and the Proximity Prompts are even customizable!

I am making a push button to players stand on. And i want to make cubes activate it too.

1 Like

You could raycast from the button upwards, or raycast from the character downwards.