• Unity
  • Services
  • Made with Unity
  • Learn
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Forums
  • Answers
  • Feedback
  • Issue Tracker
  • Blog
  • Evangelists
  • User Groups

Navigation

  • Home
  • Unity
  • Industries
  • Made with Unity
  • Learn
  • Community
    • Forums
    • Answers
    • Feedback
    • Issue Tracker
    • Blog
    • Evangelists
    • User Groups
  • Get Unity
  • Asset Store

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Screen.width

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

H3ll0VR asked

Screen.width/Screen.height not working with multiple resolutions

Jan 23, '19 ui·screen resolution·screen size·screen.width·screen.height

0 Replies

0 Votes

avatar image

VahanSardaryan commented

how can i divide screen to x & y axes for different resolutions

Jan 15, '19 screen resolution·screen size·screen.width·screen.height

1 Reply

0 Votes

avatar image

Reverend-Speed asked

Why is my orthographic camera not resizing according to resolution / aspect?

Jan 1, '19 aspect-ratio·localscale·orthographic camera·screen.width·screen.height

0 Replies

0 Votes

avatar image

Bunny83 commented

Screen height and width confusion

Feb 25, '18 screen·positioning·box·screen.width·screen.height

1 Reply

0 Votes

avatar image

Bunny83 commented

Can't work with screen.width / height

Aug 2, '17 screen·screen.width·screen.height

3 Replies

0 Votes

avatar image

RobertWebb published

Screen.width & height not updated after screen rotation

Mar 14, '17 android·orientation·screen.width·galaxy·screen.height

1 Reply

0 Votes

avatar image

Rajeesh_AR answered

Getting Device Screen Height and width in inches

Aug 19, '16 screen·screen size·screen.width·screen.height

2 Replies

1 Votes

avatar image

kashif789us asked

Capture screenshot of a Particular Area on screen

Jan 18, '16 in Help Room

0 Replies

0 Votes

avatar image

AngryTilde edited

Moving GameObject with Mouse problem

Nov 11, '15 in Help Room

1 Reply

0 Votes

avatar image

pako answered

Divide screen in 3 equal parts/ Screen.width/3 + use of GetMouseButtonDown(0)

May 23, '15 c#·screen.width

1 Reply

0 Votes

avatar image

BlazingRiver asked

Does Screen.width Recognise the iPhone 6 Plus Downscaled Resolution, or the Rendered One?

Mar 31, '15 ios·resolution·screen.width

0 Replies

0 Votes

avatar image

Eric5h5 commented

Spawning according to screen width

Feb 27, '15 instantiate·array·spawning·screen.width

3 Replies

0 Votes

avatar image

xxBarginsxx commented

Can you tell unity to resize the Game window by a button press?

Feb 15, '15 game·screen·resize·screen.width·screen.height

2 Replies

1 Votes

avatar image

Broken Crayon Games commented

Screen.width Not Working

Jan 5, '15 screen.width·horizontal-slider

2 Replies

0 Votes

avatar image

alucardj edited

Detect touch in screen at different resolutions

Nov 3, '14 camera·raycast·screen·screen.width

2 Replies

0 Votes

avatar image

Voltar edited

Screen.width + Draw Texture not screen width

Aug 12, '14 gui·drawtexture·screen.width

3 Replies

0 Votes

avatar image

Stormizin commented

GUI.Draw Texture Positioning

Jul 25, '14 screen·drawtexture·screen.width

1 Reply

0 Votes

avatar image

JayOhhh commented

Scaling GUIText for all resolutions.

Jun 13, '14 screen.width·screen.height

0 Replies

0 Votes

avatar image

diogm published

Positioning across various resolutions

May 30, '14 objects·positioning·screen.width·screen.height

0 Replies

0 Votes

avatar image

vvkkumar06 asked

How to resize a normal image then apply as a texture for GUI.Box()?

May 27, '14 texture2d·resize·screen.width·screen.height·guibox

0 Replies

0 Votes

avatar image

maddFrogg edited

Keeping screen width and scaling screen height for different screen resolutions

Apr 25, '14 camera·screen·screen.width

2 Replies

0 Votes

avatar image

MattDahEpic edited

Only using related functions, yet still being told that I can't use non GUI functions in OnGUI (Don't call OnGUI)

Apr 25, '14 ongui·guilayout·screen.width·screen.height

1 Reply

0 Votes

avatar image

gfoot commented

How to tell how many lines of text are in my GUI Box when I use wordWrap

Apr 22, '14 c#·gui.box·screen.width·screen.height·wordwrap

1 Reply

0 Votes

avatar image

Eluate commented

Object not centering with screen.width/2

Apr 14, '14 c#·camera·vector3·transform.position·screen.width

0 Replies

0 Votes

avatar image

3dhelsel commented

placing a GUI.Button at a specific place on multiple screen resolutions

Mar 26, '14 gui button·screen.width

2 Replies

0 Votes

avatar image

PaxForce edited

Screen.width / 100 * 100 != Screen.width

Mar 22, '14 screen·screen.width

2 Replies

0 Votes

avatar image

mormonspam asked

How to place objects at edge of screen for mobile devices

Mar 3, '14 android·iphone·edge detection·screen.width

0 Replies

0 Votes

avatar image

legion_44 answered

Resize GameObject in unity via js

Jan 13, '14 scale·screen.width

1 Reply

0 Votes

avatar image

jptsetung edited

When are Screen.width and Screen.height updated after changing the Screen.orientation value?

Oct 30, '13 screen·orientation·screen.width·screen.height·screen.orientation

0 Replies

0 Votes

avatar image

Borzi commented

Make area adapt to screen size

Oct 13, '13 screen·guilayout·area·screen.width·screen.height

1 Reply

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

screen.height screen android screen resolution orientation camera positioning resolution screen size c# gui.box resize iphone guilayout drawtexture texture2d landscape aspect-ratio guibox orthographic input.mouseposition fullscreen screensize objects 2d
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges