I use an external program when I want to record a gif to explain something. I'm using ScreenToGif on Windows right now, though I'm sure there are other programs that do the same thing.
thx you so much