Welcome to Android Central! Go to Settings>Language & Input, tap on the Default Keyboard selection, and make sure Google Keyboard is selected (if that's your usual keyboard). Then tap the settings icon right next to the Google Keyboard selection and make sure Gesture Typing is checked on.