Microflaments question

How microfilaments play a role in phagocytosis?

Hi, Lumen Learning says this:

A macrophage engulfs a pathogen by rearranging its actin microfilaments to bend the plasma membrane around the pathogen. Once the pathogen is sealed in an endosome inside the macrophage, the vesicle is walked along microtubules until it combines with a lysosome to digest the pathogen.