How to get ContentId from Content

I’m trying to apply an EditableImage to a Decal

workspace.Part.Decal.Texture = Content.fromObject(SourceTexture)

Unable to assign property Texture. ContentId expected, got Content

Try indexing the URI through Uri, maybe that would help?

Here’s Content documentation: Content | Documentation - Roblox Creator Hub