Taking a screenshot is easy, but what about recording an animated GIF? That can be trickier. With a Samsung Galaxy smartphone, though, there's a good chance you can do it very easily.

Many Samsung smartphones have a feature called "Smart Select." You can use this to select specific parts of the screen, but it also includes a GIF tool. Smart Select used to be exclusive to Galaxy Note devices, but now it's available for many more.

Related: How to Screenshot on a Samsung Galaxy Smartphone

Smart Select is only accessible from Samsung's "Edge Panels" feature, so you'll need to enable that first. Swipe down once from the top of your Samsung Galaxy device's screen, and then tap the gear icon.

open the shade and tap the gear icon

Next, go to the "Display" section.

open display settings

Toggle the switch on for "Edge Panels," and then select it.

Enable "Edge Panels" and select it.

An animation will show how to access the Edge Panels. Go to "Panels."

Select "Panels."

There are several panels to choose from here. Make sure that the "Smart Select" panel is selected.

Enable the "Smart Select" panel.

With that out of the way, find something that you'd like to turn into a GIF and open the Edge Panel by sliding out from the translucent tab on the edge of the display.

Open the Edge Panel.

You might have to swipe left or right to get to the Smart Select panel. From it, you'll see an "Animation" option, which is what you want.

If you're using YouTube as the GIF source, Smart Select will automatically highlight the video. You can also manually drag the corners to select whatever you want.

Before you start recording, tap the quality dropdown and select "High Quality" or "Standard Quality."

Now, you can tap the "Record" button to start capturing the animated GIF. Tap the "Done" button to finish recording the GIF.

You'll now have the option to draw on the GIF, share it directly, or save it to your local storage. Here's the GIF that I made.

This is a really nifty tool that has tons of uses. Making a quick GIF from a YouTube video is just one example of what you can do! If you're not using your phone, there are other methods for GIF creation out there.