Search Unity

Is there a hotkey for play / stop?

Discussion in 'Editor & General Support' started by Tiles, Feb 23, 2010.

Thread Status:
Not open for further replies.
  1. Tiles

    Tiles

    Joined:
    Feb 5, 2010
    Posts:
    2,481
    As the title says, Is there a hotkey for play / stop? It`s a bit cumbersome with the mouse. A hotkey would be much more userfriendly to start/stop your game while testing :)
     
    helgrind21 and Mikael-H like this.
  2. Jessy

    Jessy

    Joined:
    Jun 7, 2007
    Posts:
    7,325
    Yes.
     

    Attached Files:

    Rachan, aleannox, naoki914 and 14 others like this.
  3. Tiles

    Tiles

    Joined:
    Feb 5, 2010
    Posts:
    2,481
    I knew i am blind :D

    Thanks :)
     
    B-Erolskiy likes this.
  4. Hazneliel

    Hazneliel

    Joined:
    Nov 14, 2013
    Posts:
    305
    What??

    Ctrl+Shift Allright I can do that with my left hand... but P??????

    How Im supposed to fast play and stop while keeping my right hand in the mouse??, this really interrupts the workflow =/
     
    PikeOne likes this.
  5. JWdell

    JWdell

    Joined:
    Oct 24, 2014
    Posts:
    54
    It really isn't an issue to keep your right hand on the mouse then use your left hand to hold the right Ctrl button and push P. I do agree however it would improve the workflow had it been a button closer to the left but I get why they used P which would be for Play.
     
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,411
    tree_arb, tandandanw and cryptoforge like this.
  7. AzatKhafizov

    AzatKhafizov

    Joined:
    Dec 27, 2014
    Posts:
    3
    Thank you!
     
  8. AlexP11223

    AlexP11223

    Joined:
    Mar 21, 2018
    Posts:
    2
    If you are on Window, you can AutoHotkey to remap this hotkey when Unity window is active. (on Linux something like xmodmap may work)

    Something like this for Shift+X

    Code (csharp):
    1. #Hotstring * ?
    2. SetTitleMatchMode, 1
    3. #If (WinActive("Unity"))
    4.  
    5. +x::SendInput ^p
     
  9. RichL

    RichL

    Joined:
    May 2, 2018
    Posts:
    1
    THANK YOU!
     
  10. p4r5n1p-4991347375

    p4r5n1p-4991347375

    Joined:
    Oct 11, 2019
    Posts:
    1
    This just saved me, with my cursor locked and invisible. Thank you.
     
  11. rexcode

    rexcode

    Joined:
    Aug 18, 2018
    Posts:
    1
    It is Ctrl + P
    You can set a custom ket by going to Windows - goto Edit -> Shortcuts for Unity 2019
     
    Gollum99 likes this.
  12. tennydecode

    tennydecode

    Joined:
    Aug 4, 2020
    Posts:
    1
    thanks. This should be the first answer. Also, the only one.
     
    moykul likes this.
  13. djhatvr

    djhatvr

    Joined:
    Sep 22, 2019
    Posts:
    53
    It Really Is an issue when your testing VR...
    I don't see ANY reason why 'P' couldn't also stop as well... Play/Stop toggle would be nice...
     
  14. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    776
    Thanks!!!
     
  15. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,456
    Please use the Like button if you're simply showing appreciation, rather than necroing the thread (13 years old).

    Thanks.
     
    Ruslank100 and Kurt-Dekker like this.
Thread Status:
Not open for further replies.