dvg75
(dvg75)
December 26, 2024, 12:42pm
1
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
lordlolek
(lordlolek)
December 26, 2024, 1:14pm
2
Is it screen space or world space widget? Is it spawned directly on the screen or is it inside of some other widget?
dvg75
(dvg75)
December 26, 2024, 1:35pm
3
it’s a click event creating a widget
Everynone
(Everynone)
December 26, 2024, 1:45pm
4
Set Size in Viewport
here. You can set the position, too.
1 Like
dvg75
(dvg75)
December 26, 2024, 2:00pm
5
awesonme. thank you very much! next is to find a way to make the widget dragable.
dvg75
(dvg75)
December 26, 2024, 6:44pm
7
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…
dvg75
(dvg75)
December 26, 2024, 7:38pm
8
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.