public void OnMouseDown(){
print("this gameobject is clicked")
}
but i would like to block mouse clicking it when im clicking the ui(space overlay)
i think blocksraycasr thing doesnt work…
i want to using worldspace ui for the solution or add variables to check if the ui in on…
any fundamental solutions for this???