Verwirrendes Problem

Hi! This is mainly a English speaking forum, so please write in that language :slight_smile: Also, you can post your scripts in the forum by using Code tags .

  • You probably meant OnMouseDown instead of OnMoudeDown. You’re also missing a ) at the end there - it should be if (Input.GetMouseButtonDown(0)).

  • Camera.main.transparencySortAxis ScreenToWorldPoint(mousePos) doesn’t work that way.

There are likely other issues with your script, but I’ll leave them to more skilled devs.

1 Like