# How to make Unity sprite animation not lerp?

I set sprite animation at key1 and key2.

at Key1 :

Position.x = 0


at Key2 :

Position.x = 1


I want it not lerping. i mean i want it appear at posX 0 and posX 1. not between 0~1.

what should i do?

• What do you mean by lerping? – DJ Spicy Deluxe Sep 5 '19 at 20:34
• @DJSpicyDeluxe I believe they're refering to "Linear intERPolation". As in, having a curve instead of a square. – Logarr Sep 5 '19 at 21:23
• @DJSpicyDeluxe I mean i want it move in discrete way, not continuous way. and Mailerdaimon's answer solved it. – Hree Sep 5 '19 at 21:38

You have to rightclick on the animation curve and set both tangents to broken and constant.