Setting loop_start and loop_end for highlighted_clip_slot?

TJ Spurge's icon

**EDIT: I was able to resolve the issue by editing an existing max patch called Mappable Clip Legato by bencodec. **

Hello all. I am extremely new to M4L but I’ve learned enough to make a device which lets me move the start and end of the loop bracket in a specific clip slot. Now I would like to be able to go a step further and have the same ability in any currently playing clip. I think I’m supposed to be using highlighted_clip_slot or detail_clip but I’m stuck. Any suggestions on where in the reference to look or what to search for? Any suggestions about some patches I can look at with similar capabilities? I can provide the patch I made if anyone wants it. Thank You!