Help set pin height

I need set one pin hight when value variable is value=20
Any help
Thankyou