In PF2e, critical failures and successes happen if you score 10 below or above your target. Say an enemy has an AC of 20, and you roll 18, then add 12? Well you rolled a 30, so that's a crit, baby.
This module is no longer being maintained, as such I would advise using the new drag measurement tool that was added to the PF2e Game System. If you would like to add pathfinding to this tool please ...