Follow and unfollow sprite

please check this line, followTheSprite is Action type pointer:
followTheSprite = Follow::create(sprite3, Rect(0, 0, 0, 0));