window property in animation

Basically what the title says i want to make sure I am not doing something wrong. I have a window property of I want to use as a static variable in a animation.

Simply put

Animation effect slide start 00 end window property,0 some condition

Is this possible or… Does the anmation not accept alternative info… Btw the window property is in info bracket s.