Quantcast
Channel: Questions in topic: "get"
Viewing all articles
Browse latest Browse all 215

How do I make mouse clicks to be processed only where I need it?

$
0
0
There is an object on the stage (let's call it the button). So I need that when I poke it with a mouse in the console wrote a message (for example: it works). For this, I wrote the script using GetMouseButtonDown. And added this script to the button. But for some reason when I start the game and I do not click on the button, the console still writes: it works. How do I make mouse clicks to be processed only where I need it?

Viewing all articles
Browse latest Browse all 215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>