Use an extra variable. This should work:
You may want to Expose on Spawn, if you want to do this during run-time as well.