react native how to swipe automaticlly with flatlist paging

Solution for react native how to swipe automaticlly with flatlist paging
is Given Below:

I use flatlist and pagingEnable. if anybody clicks to the color Red, then the flatlist should moving to the picture to red. Is that possible with flatlist & pagingEnable ?

When paging is enebled every items are rendered as page,
use a ref of the flatlist and

flatlist.scrollToIndex(index) // or 
flatlist.scrollToItem(item)

will do it