Search Unity

Question Is there a way for scene object picking to respect Sorting Layer order?

Discussion in 'Editor & General Support' started by noeski, Feb 15, 2024.

  1. noeski


    Nov 10, 2015
    Often times when clicking in the SceneView the object that is selected is not what I am expecting since it is based on hierarchy order and a number of other things, but it does not match what is being rendered in the SceneView.

    I am aware that there are some hacky ways to override the behavior of SceneView selection (see but is there any way to add Sorting Layers into the equation so that clicking through in the SceneView will better match what I am seeing on screen?
    Kurt-Dekker likes this.