diff --git a/src/plugin.js b/src/plugin.js index e040dae3..0a469da9 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -551,7 +551,7 @@ class VR extends Plugin { } addCardboardButton_() { - if (!this.player_.getChild('CardboardButton')) { + if (!this.player_.controlBar.getChild('CardboardButton')) { this.player_.controlBar.addChild('CardboardButton', {}); } }