Filament runout macro

Ok awesome thank you. Seems to do it pretty quick cause it seems to stop a few mm from the roller that’s in the sensor. So pretty much i have Microswiss direct drive for and ender 3 then the SFS on top but there is a gap between the end of the SFS to the top of the gears on the direct drive, which then when it stops just after the sensor wheel then makes it hard for me to put new filament in without alot of messing around.