Behavior is recorded from below a 35 mm petridish arena, with the camera connected to custom software such that after triggering a default recording event at the start experiment, subsequent recordings events are triggered when the larva is within a circular region of interest (ROI). An a long-pass filter is fitted on the camera lens, and a custom IR light-ring illuminates the arena uniformly. Diffused light is used to illuminate the arena, that obtained via lab-bench light-source pointing upwards onto a frosted glass that sits above the arena. The event ROI is set such that Behavior is recorded only when larval is sufficiently away from the edge of the petridish. The recording session timeout is 10 min, beyond which time new recording events are not triggered. The maximum duration of recording events is limited to two mins. If the larva is still in the ROI after those 2 min, and the maximum experimental period (10 min) timeout has not been exceeded, then a new recording event is initiated.