Accessing new UI Canvas / Panels / GameObjects through Scripting

I’ve created a Canvas->Panel->4 Images in my project. (-> denotes parenting) I’m looking to create a Progress Bar by having a background/foreground for each bar, shrinking the width of the foreground image as the ‘progress’

I have scripts elsewhere that calculate and create the health/output as a %.

My goal was to find the foreground image component with a script and set the Rect Transform’s Width (of the foreground image) to be the % of it’s total width on Update calls.

At this point I’ve found little information in regards to accessing the UI Canvas and children components. I would greatly appreciate any assistance here, thank you for your time.

Same problem here.