Add an invisible sprite with Tween behavior, or use any existing static object. The object doesn't matter, as long as it exists on the layout and has Tween behavior.
Run "Tween (value)" action.
In "Tween Is Playing" event set layer elevation to Sprite.Tween.Value