Instruct the navigator in NMS Level #1 to pause navigating. The variable $NavigationStatus will also update to Paused.
*Note: the NMS Level #1 control must support this function. Verify with its manual that this feature is supported.
// Pause navigating if the ping sensor detects an object less than 100 distance and continue if greater if (Ping.get(d0, d0) < 100) Navigation.SetNavigationStatusToPause(); else Navigation.SetNavigationStatusToNavigating();