How can I have a "preview" for parts with a plugin?

So I was wondering how I could kinda have “fake” parts to show a preview of what something would look like in a plugin. Basically a hologram before u actually confirm to place something.

The issue with just inserting parts or models is that this is a plugin and I dont want it to be published or saved into the main game by accident. How should I go about doing this?

1 Like

Viewports would be your friend in this situation, if you want to display models, use WorldModel.

1 Like

I thought of using viewports but they always show on top which I dont want.

wdym? just use cameras?

1 Like

The parts themselves will show behind objects that aren’t in the viewport.

Edit: maybe you misunderstood my bad if I didn’t explain right. The preview I want is actually going to show on the map / baseplate before you confirm it to place it in.