# Create a button?

**URL:** <https://community.wolfram.com/t/create-a-button/10606>\
**Category:** Questions\
**Tags:** interface-construction\
**Created:** [May 27, 2017, 1:03pm UTC](https://community.wolfram.com/t/create-a-button/10606 "2017-05-27T13:03:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhileshbhartia](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@akhileshbhartia](https://community.wolfram.com/u/akhileshbhartia)\
**Post date:** [May 27, 2017, 1:03pm UTC](https://community.wolfram.com/t/create-a-button/10606/1 "2017-05-27T13:03:46Z")

</div>

Hello,

I am inexperienced with Mathematica, currently trying to use it as a tool for balancing a game. I want to create a button (with attached action) and for this purpose I looked up the function button and copied the examples into a notebook only to have nothing happen. Well, the cell brackets become bold, I am assuming it means it’s processing the entry. It remains as such without any output. I have tried copy pasting various examples with none working.

I copied the following line from the online help/documentation on the function “Button”

```
Button["Click Here", Print[10!]]

```

and got no output (button or otherwise)

appreciate your help,  
thank you  
Akhilesh Bhartia

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [May 27, 2017, 5:28pm UTC](https://community.wolfram.com/t/create-a-button/10606/2 "2017-05-27T17:28:42Z")

</div>

Your input works fine on my system. I don’t know what you are doing wrong.

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [May 30, 2017, 2:14pm UTC](https://community.wolfram.com/t/create-a-button/10606/3 "2017-05-30T14:14:40Z")

</div>

Don’t copy stuff from the documentation. Try typing it out yourself. Do you still see the problem? Are you using Mathematica on the Desktop or online?

When you copy stuff from the documentation, it might contain some special formatting. This can be confusing at first.
