- Home /
Question by
kangta · Nov 29, 2012 at 04:03 AM ·
guiraycastingjoystick
raycast passing through joystick gui
Using the joystick prefab. I have a raycast script set up, however when I pass over an item that can be interacted with it does so. How do I stop raycasting through my joystick gui. I've done layermasking, however the joystick gui is unaffected by this.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613084657im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using CrossHair GUI to Determine Ray Spread 0 Answers
How to use virtual Joystick.js (Mobile Assets) with the default ThirdPersonController? 3 Answers
How to use GUIUtility.hotControl 2 Answers
Need help with Raycast 0 Answers
Joysticks disappears Android 1 Answer