GetCursorFace

API GetCursorFace 1.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Arno

New Member
Sep 28, 2017
2
1
3
23
Arno submitted a new resource:

GetCursorFace - Get the face of the block targeted by a player !

This script is extremely simple to use yet extremely useful for developers!

He has a unique function, that allows you to get the face of the block targeted by a player.
This functionality, unavailable from basic expressions or effects of Skript or its addons, can be very useful.
In order to achieve this result, this script recalculates a 3D geometry from the block's location, player's location and the player's view.


It's very easy to use:
code_language.skript:
GetCursorFace(player)
Returns...

Read more about this resource...