Playcanvas on button click
var ReportSystem = pc.createScript('reportsystem');
ReportSystem.attributes.add('entity',{type:'entity'});
ReportSystem.prototype.initialize = function() {
var rs = this.entity.findByName('rsBTN');
rs.element.on('mouseup', this.onClick, this);
};
ReportSystem.prototype.onClick = function() {
window.open("https://docs.google.com/forms/d/e/1FAIpQLScI9j-sV2hwUtxk79KCK7WWqAX14eavWB1uWd2HfnHMQEwnmA/viewform?usp=sf_link");
console.log("link opened");
};