From 5fc4bf9651e0f71f764680504529bad2bbd6124d Mon Sep 17 00:00:00 2001 From: GigabiteStudios <gigabitestudios@noreply.localhost> Date: Sat, 25 Jan 2025 05:18:53 +0000 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 2ca5a92..7fbfc1a 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,19 @@ end 1. `success` (boolean): `true` if the 3D point is visible on screen, `false` otherwise. 2. `sx`, `sy` (numbers/floats): The 2D screen coordinates if `success` is `true`. + +### Engine.GetScreenSize() + +```lua +local x, y = Engine.GetScreenSize() +``` + +- **Description**: Gets Screen Size +- **Parameters**: + - None +- **Return Values**: + 1. `sx`, `sy` (numbers/floats): The Size of the active screen + --- ## Renderer Table