Restart Scene on button tap

After I die I want to have a touch Restart-button on Android.
I tried it in javascript, but it doesn’t work:

function OnMouseDown ()
{
Application.LoadLevel(Application.loadedLevel);
}

I read, that there should be a function update, but I don’t now how :confused:

Hello, this is my first answer in this forum but AFAIK, OnMouseDown needs a box collider/circle collider(if your button is round). And you need to enter level name inside LoadLevel parenthesis

eg:
Application.LoadLevel(“level1”);