# How to delay a float value change?

**URL:** <https://forums.unrealengine.com/t/how-to-delay-a-float-value-change/458462>\
**Category:** Blueprint\
**Tags:** slide, unreal-engine, UE4, Blueprint, question\
**Created:** [November 15, 2019, 12:42pm UTC](https://forums.unrealengine.com/t/how-to-delay-a-float-value-change/458462 "2019-11-15T12:42:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMGconex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OMGconex](https://forums.unrealengine.com/u/OMGconex)\
**Post date:** [November 15, 2019, 12:42pm UTC](https://forums.unrealengine.com/t/how-to-delay-a-float-value-change/458462/1 "2019-11-15T12:42:23Z")

</div>

hey im working on making my character slide down a slope which i have gotten to work but i cant seem to figure out how i would allow him to run up an angle where he should slide for a little while before the sliding kicks in? im thinking i have to do something with the angle which is a float and delay that for a while somehow? because i cant delay the hole function because it’s a tick event.

 ![292392-sliding.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/2/d12b358ac092bdf08b88c6db29cdcca0be5408be.png)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [November 15, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-delay-a-float-value-change/458462/2 "2019-11-15T14:29:35Z")

</div>

You can Line Trace down and get the normal vector of the surface, and if its angle exceeds your walkable angle for some time, change the walkable angle of the character to something smaller, and it will begin sliding back.
