Am i doing something wrong here?


Wtf?

I don’t know, are you doing something wrong?

You haven’t described your problem either.

Uhh by the looks of it when he adds an item to a panel it moves, going off-screen on the 3d2d.

Are you manually setting the position, or even accidentally changing it when you add items?

Some more code would be helpful.

with pan:PaintAt(0,0)
if pan has a child element and pan.Child:SetPos( 1,1 ) then the subsequent cam.Start3D2D gets offset by that amount (1,1) and in the same direction as the previous cam.Start3D2D.

Why is it doing that?

– Edit –

Using 2 seperate for loops seems to fix the problem.