How to delay a float value change?

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.

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.