How would I replace a UI image elements sprite with a external image?

So im making another game and i was wondering how i could use a images url as a sprite. Im not sure how I should go about this so i came here to ask.

Hi @Granted,

Check this post on how to approach this:

It explains on how to programmatically create a sprite from a texture. You can easily load remote textures using the following method:

I meant to say texture sorry about that. How do i change the texture.

You can use the loadFromUrl() method I shared last on my reply, it allows you to load remote textures.