I wanted to use a hype example saw on the forum from the drag and drop but I couldn't modify the functions, it doesn't work:
If I remove box B in the fOnLoad function and also remove it from the scene, it doesn't even work with words anymore.
Moreover, i wouldn't want to have buttons with letters A or B in an inner html.
Here I would just like to simplify without having buttons with words but just images (on my exemples: 3 pictures but it could be more) that I would put in the same way in a single box (not 2). While maintaining the effect of slight magnification and disappearance when the images are added to box A.
Then a description text of the image (which I would have defined before) which would be placed in the box would be written in a text block on the side.
If we put 2 images in the box, there would be 2 description texts. And so on for each image placed in the unique box. If one image has not been placed in the box, the corresponding text would not be displayed
How can I do this? In advance, thank you for very much for your answer !!!
Draganddrop-images.hype.zip (1.7 MB)