Skip to contents

Get the world space position for a 2d camera screen space position.

Usage

get_screen_to_world_2d(position, camera)

Arguments

position

A numeric vector of length 2.

camera

A camera_2d.

Value

A numeric vector of length 2

Note

This function has been auto-generated from the following Raylib function definition:

Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera);