Having animation function while game is playing

Sorry for another noob question from this artist/animator attempting to make a game. Just need to have the walk animation function on the character
while the game is being played, so that she walks, rather than “slides”, when the w,a,s,d buttons are pushed. How do I accomplish this?

                                                                                              Thanks much, 

                                                                                                Bill Carey

Here you go buddy, thatll kickstart you into those types of things: