Button hide code

how do i hide a button with code

Hi @Ozden_Delibas,

A button is an entity, so to disable an entity from rendering you use the following:

this.entity.enabled = false;
1 Like