First time here? Check out the FAQ!
Here is a code that could help. This is assuming your setup is like in the well-known sentdex tutorial: everything is in