Hi, I have a student who created a drag and drop in Layout 3 and wants the four text images on the computer screen to be dragged and dropped on top of the paper image. The problem is that when he sets the position for the dragged objects to appear on the paper.x,paper.y, they all stack on top of each other on the image point. He wants them to be dragged and appear within the confines of the paper. So, he set the position to the first object being dragged (UQ) to random x and y coordinates that would span the paper, but that didn't work and the UQ object disappeared. Can anyone tell me what he's doing wrong?
Thanks so much!
https://ramsshepherd-my.sharepoint.com/:u:/g/personal/ynuredin_shepherd_edu/EV472FFsQCFGsCQqzySgVV4BpEsx12nh6wEIHrNfMrWd5A?e=SvWmeL
He's setting Y coordinate to random(170-387). The correct expression is random(170,387) - there should be a comma between two parameters.
Develop games in your browser. Powerful, performant & highly capable.
Great catch! Thank you so much!