Plot shape based on IIf function

iam working iif function based on condition i want to plot shape
if my condition is true
then color should be blue else i dont to give any color
Thanks in advance

@sandeep.sd9 Really - you can find ready to use examples of using PlotShapes() in AB documentation:

… and in thousands other codes. Put some effort - it’s not difficult —> just one line of code will do.