i want to change button shap....
Use a image and use the mouse event.click to handle clicking it :)
Use a sprite instead
Develop games in your browser. Powerful, performant & highly capable.
can you give me an example
Extract from the how do I FAQ
prite
Making a button using a sprite (and handle clicking on it) - LINK