How to add footstep sound fx on a character in a 2D side scroller level?

Attach it to integer equal