ZBrushCentral

getting Z intensity from Smooth Brush

although
[IKeyPress,SHIFT,[ISet,Draw: Z Intensity,xxx]]
works to set the value,
[VarSet,myVar,[IKeyPress,SHIFT,[IGet,Draw: Z Intensity]]]
does not seem to work to get it.

Any ideas why ?

Interesting problem. It seems that some action is necessary in order for the variable to get the right value. This code simply clicks off canvas first:


[IKeyPress,SHIFT,		
        [CanvasClick,-100,-100]		
	[VarSet,myVar,[IGet,Draw: Z Intensity]]
]

yes, thank you very much.