ZBrushCentral

Zscript for light placement issue

Hello guys ,
i need little help this script:
I just want to store the light possition in a variable, but it store only the hrizontal possition.

//store possition
[VarSet,litplace,[IGet,Light:Light Placement]]

//reset posstionon
[ISet,Light:Light Placement,0,0]

//restore possition
[ISet,Light:Light Placement,litplace]

Thank you

Hello @PSTCHOART

See if this helps you. You will probably have more luck getting an answer by posting this in the Latest ZScripting Help forum though.

1 Like

Thank you ZBER2 !