This will draw a red rectangle when attached to a pivot.
function Script:PostRender(context)
context:SetBlendMode(Blend.Alpha)
context:SetColor(1,0,0,1)
context:DrawRect( 100, 100, 200, 200)
context:SetBlendMode(Blend.Solid)
end
You should not call Clear.. that's done in the App:Loop already