I noticed that "abs(ViewportLeft(0)+ViewportRight(0)/2" places an object in the middle of the Viewport. This is fine if you scroll to the middle of your game at the start of the layout to work for various screen sizes. However, I noticed that this calculation is not the viewable area, but the center of the layout width.
Does anyone know how to place an object in the center of the viewable area? For example, a tall phone screen should see this object in the center as well as someone on a tablet - even if the viewable area is scrolled to the left or to the way right when spawning this new object.