Widget size

Hello,

Im trying to make a widget appears when an event is applied to a static mesh.

My problem is i can’t get a fixed size of my widget, canvas panel has a desired/custom/desired or anything else, it does not matter, it will alway go off display.

Any idea why it happened?

thank you

Is it screen space or world space widget? Is it spawned directly on the screen or is it inside of some other widget?

it’s a click event creating a widget

Set Size in Viewport here. You can set the position, too.

1 Like

awesonme. thank you very much! next is to find a way to make the widget dragable.

1 Like

thanks!

you might have a path or a clue relative to my next problem.

pickin up a mesh from a widget
drop it in the scene
move rotate
delete
pick another etc…

I’ve managed to get my widget clickable and moveable from point A to somewhere else.

THe widget stays in point A, is being duplicated under the mouse until point B and when mouse button is released just disappears.

And actually never left point A.