Example
A value which is suposed to be between 50 and 100. And occasionally you get a minus value or in the multiple 100s.
Clamp (value, 50,100)
So in effect yes, your framing the allowed value between 50 and 100.
Value = -50 makes it 50
Value = 1000 makes it 100
I didn't look at your events but from what I read from 99instances to go there was another issue.
An application of clamp could have been something along:
× = clamp( lerp(Self.X,CanvasX,6*dt), 0, CanvasWidth)
Which would return a value which actually exists within your canvas x coordinates.
Note I used 6*dt which is the same as your 0.1; but the 6*dt makes the lerping framerate independent.