How to overlay multiple canvas elements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to overlay multiple canvas elements

I have 2 canvas Elements on my site. But when I run my code, I see only the one which is positioned on the top. What can I do if I want to see the 1. background and the 2. as scene? (Both are interactive)

6th Feb 2018, 2:05 PM
Manuel 48
Manuel 48 - avatar
4 Answers
+ 1
Is there any chance you can show us your code so we can try to help a little further?
6th Feb 2018, 2:42 PM
Memphis Reigns
Memphis Reigns - avatar
0
That is what I have done, but I doesn't work
6th Feb 2018, 2:17 PM
Manuel 48
Manuel 48 - avatar
0
Yes, please visit manuel03.bplaced.net/game/game.html
6th Feb 2018, 3:08 PM
Manuel 48
Manuel 48 - avatar