In the game that I’m developing I’m trying to find the size of a shadow cast by a box. I’m using the Universal RP for lighting and shadows. I want to find the distance of how far along the floor the shadow is cast. I’ve tried to pull data from the Shadow Caster 2D script but have been unsuccessful in doing so. I have tried to use Data.Log(m_ShapePath.ToScript()) to pull information from m_ShapePath which seems to be what generates the shadow’s size (I’m not 100% sure about that). This was only printing out Vector3 when put in either the Awake function or Update function. Is there a way to pull this size data out of Shadow Caster 2D or is there another Shadow renderer I could be using?

I guess the first question here is, what’s the actual end goal you’re looking to achieve here?
The game I’m trying to make is a puzzle game with the main feature focusing on manipulating objects through shadows. There is a light that the player can move around and then there is a button that the player can hit to change objects into like a shadow version of the object. In this shadow version the objects would now be the size of the shadow that they prieviously cast. For example in the picture normally the box would look like what it looks like now but in the shadow version the box would have the length of the line drawn with the question marked length.